GO
ALTER TABLE [dbo].[TaskPriority] ADD
        CONSTRAINT [UQ_TaskPriority_Name] UNIQUE
        (
                [Name]
        )